using System;
using ASmile.ORM.Entitys;

namespace ASmile.DBModel
{
	public partial class Cfg_Global : EntityBase
	{
		private System.String _Id;
		/// <summary>
		/// Id
		/// </summary>
		[Entity(ColumnName = CNId, IsPrimaryKey = true, IsNotNull = true)]
		public System.String Id
		{
			get { return _Id; }
			set
			{
				_Id = value;
				base.SetFieldChanged(CNId) ;
			}
		}

		private System.String _AssemblyName;
		/// <summary>
		/// AssemblyName
		/// </summary>
		[Entity(ColumnName = CNAssemblyName)]
		public System.String AssemblyName
		{
			get { return _AssemblyName; }
			set
			{
				_AssemblyName = value;
				base.SetFieldChanged(CNAssemblyName) ;
			}
		}

		private System.String _AssemblyCaption;
		/// <summary>
		/// AssemblyCaption
		/// </summary>
		[Entity(ColumnName = CNAssemblyCaption)]
		public System.String AssemblyCaption
		{
			get { return _AssemblyCaption; }
			set
			{
				_AssemblyCaption = value;
				base.SetFieldChanged(CNAssemblyCaption) ;
			}
		}

		private System.String _ClassName;
		/// <summary>
		/// ClassName
		/// </summary>
		[Entity(ColumnName = CNClassName)]
		public System.String ClassName
		{
			get { return _ClassName; }
			set
			{
				_ClassName = value;
				base.SetFieldChanged(CNClassName) ;
			}
		}

		private System.String _ClassCaption;
		/// <summary>
		/// ClassCaption
		/// </summary>
		[Entity(ColumnName = CNClassCaption)]
		public System.String ClassCaption
		{
			get { return _ClassCaption; }
			set
			{
				_ClassCaption = value;
				base.SetFieldChanged(CNClassCaption) ;
			}
		}

		private System.String _PropertyName;
		/// <summary>
		/// PropertyName
		/// </summary>
		[Entity(ColumnName = CNPropertyName, IsNotNull = true)]
		public System.String PropertyName
		{
			get { return _PropertyName; }
			set
			{
				_PropertyName = value;
				base.SetFieldChanged(CNPropertyName) ;
			}
		}

		private System.String _PropertyCaption;
		/// <summary>
		/// PropertyCaption
		/// </summary>
		[Entity(ColumnName = CNPropertyCaption)]
		public System.String PropertyCaption
		{
			get { return _PropertyCaption; }
			set
			{
				_PropertyCaption = value;
				base.SetFieldChanged(CNPropertyCaption) ;
			}
		}

		private System.String _PropertyValue;
		/// <summary>
		/// PropertyValue
		/// </summary>
		[Entity(ColumnName = CNPropertyValue)]
		public System.String PropertyValue
		{
			get { return _PropertyValue; }
			set
			{
				_PropertyValue = value;
				base.SetFieldChanged(CNPropertyValue) ;
			}
		}

		private System.String _DataType;
		/// <summary>
		/// DataType
		/// </summary>
		[Entity(ColumnName = CNDataType)]
		public System.String DataType
		{
			get { return _DataType; }
			set
			{
				_DataType = value;
				base.SetFieldChanged(CNDataType) ;
			}
		}

		private System.String _Remark;
		/// <summary>
		/// Remark
		/// </summary>
		[Entity(ColumnName = CNRemark)]
		public System.String Remark
		{
			get { return _Remark; }
			set
			{
				_Remark = value;
				base.SetFieldChanged(CNRemark) ;
			}
		}

		#region 字段名的定义
		public const string CNId = "Id";
		public const string CNAssemblyName = "AssemblyName";
		public const string CNAssemblyCaption = "AssemblyCaption";
		public const string CNClassName = "ClassName";
		public const string CNClassCaption = "ClassCaption";
		public const string CNPropertyName = "PropertyName";
		public const string CNPropertyCaption = "PropertyCaption";
		public const string CNPropertyValue = "PropertyValue";
		public const string CNDataType = "DataType";
		public const string CNRemark = "Remark";
		#endregion

	}
}
